@charset "utf-8";
@bgcolor:rgb(247,247,250);
@bgcolor2:rgb(34,34,34);
@bgcolor3:#fff;

*{
    margin: 0;
    padding: 0;
}
.disp{
    display: block !important;
}
body{
    padding-top: 120px;
}

// 头部导航
nav{
    background-color: @bgcolor2;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 20;
    >.wrapper{
        height: 36px;
        width: 1248px;
        padding: 8px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        >div>a{
        color: white;
        text-decoration: none;
        font-size: 12px;  
        }
        >.nav-left>a{
            margin-right: 18px;
        }
        >.nav-right{
            >a{
                padding: 0 12px;
            }
            >.down-a{
                border-right: 1px solid #fff;
                position: relative;
                &:hover .down-logo{
                    display: block;
                }
                >.down-logo{
                    position: absolute;
                    top: 24px;
                    border: 1px solid #ccc;
                    background-color:#fff ;
                    width: 150px;
                    padding: 3px;
                    border-radius: 8px;
                    display: none;
                    box-shadow: 0 0 1px 1px #ccc;
                    >img{
                        width: 140px;
                        padding: 5px;
                        border-radius: 10px;
                        z-index: 3;
                    }
                    >p{
                        font-size: 12px;
                        text-align: center;
                        color: #000;
                    }
                }
            }
            >a:nth-child(3){
                border-right: 1px solid #fff;
                border-left: 1px solid #fff;
            }
            
        }
    }
}

// 头部导航第二部分
.nav2{
    position: fixed;
    width: 100%;
    top: 36px;
    z-index: 2;
    background-color: #fff;
    >.wrapper{
        width: 1248px;
        height: 84px;
        margin: 0 auto;
        padding: 8px;
        display: flex;
        justify-content: space-between;
        >.nav2_l{
            >a{
                text-decoration: none;
                color:#000;
                font-size: 14px;
                line-height: 68px;
                padding: 22px;
            }
            .nav_logo{
                height: 50px;
                width: auto;
                padding-right:30px;
                margin-left: -22px;
                position: relative;
            }
        }
        .nav2_r{
            display: flex;
            align-self: center;
            height: 36px;
            padding: 8px 16px;
            background-color:rgb(246,246,246);
            border-radius: 20px;
            >input{
                width: 128px;
                height: 20px;
                border: 0;
                outline: 0;
                background-color: transparent;   
            }
            input::-webkit-input-placeholder{
                color: #dedede;
            }
        }
    }
}


// banner
.carousel-inner>.item>a{
    height: 606px;
    >img{
        height: 606px !important;
        width: auto;
        max-width: 5120px;
        margin: auto;
    }
}
    // 菜单导航
.banner{
    >.wrapper{
        width: 100%;
        margin: auto;
        position: absolute;
        top: 120px;
        left: 0;
        >.container{
        width: 1248px !important;
        padding: 8px !important;
        margin: auto;
        position: relative;
            >.container-m{
                width: 987px;
                >.list-group-l{
                    margin: 24px 0;
                    padding: 7px 3px 0px 3px;
                    width: 220px;
                    height: 541px;  
                    >.list-group-item{
                        border: 0 ; 
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        width: 214px;
                        height: 38px;
                        margin: 0;
                        padding: 0 12px 0 20px;
                        cursor: pointer;
                    }    
                }   
                .list-group-r>div{
                    position: absolute;
                    left: 240px;
                    top: 0;
                    width: 747px;
                    height: 532px;
                    padding: 28px 8px 28px 32px;
                    border-radius: 6px;
                    background-color: #fff;
                    margin-top: 39px;
                    overflow: auto;
                    display: none;
                    >p{
                        font-weight: 900;
                    }
                    >.row{
                        margin: 0;
                    }
                }
            }
        }
    }
}

// 滚动条样式
.list-group-r>div::-webkit-scrollbar
{
	width: 6px;
}
.list-group-r>div::-webkit-scrollbar-track
{
    margin: 28px 0;
}

.list-group-r>div::-webkit-scrollbar-thumb
{
	background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}
.col-4{
    padding: 8px !important;
    &:hover{
        transform: translateY(-1px);
        box-shadow: 0 4px 8px 0px rgba(0,0,0,0.1);
        transition: all 0.2s ease-out;
        border-radius: 4px;
    }
    >a{
        color: #000;
        display: flex;
        flex: 0 0 33.333%;
        align-items: center;
        &:hover {
            text-decoration: none;
            color: #000;
        }
        >img{
            width: 45px;
            height: 45px;
        }
    }
}




// 主体部分
main{
    background-color: @bgcolor;
    >.container{
        padding: 8px !important;
        width: 1264px !important;
        margin: auto;
        // 主体第一部分
        >.main1{
            margin-top: 24px;
            display: flex;
            align-items: center;
            background-color:@bgcolor3 ;
            border-radius: 6px;
            box-shadow: 0 2px 10px 0 rgb(0 0 0 / 6%);
            >div:first-child{
                >a{
                    >img{
                        height: 90px;
                    }
                }
            }
            >div:nth-child(2){
                border-left: 1px solid #dee1e6;
                border-right: 1px solid #dee1e6;
                margin: 0 16px;
                padding: 0 48px;
                display: flex;
                justify-content: center;
                flex-grow: 1;
                justify-content: space-between;
                >a{
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    text-decoration: none;
                    img{
                        width: 45px;
                    }
                    >span{
                        color: #000;
                        font-size: 16px;
                    }
                }
            }
            >div:nth-child(3){
                padding-left: 20px;
                display: flex;
                width: 25%;
                cursor: pointer;
                div:first-child{
                    height: 48px;
                    width: 48px;
                    background-color: rgb(210,210,210);
                    border-radius: 50%;
                    text-align: center;
                    >i{
                        font-size: 24px;
                        color: #fff;
                        line-height: 48px;
                    }
                }
                >div:last-child{
                    margin-left: 8px;
                    >span:first-child{
                        color: rgb(210,210,210);
                        margin-right: 2px ;
                    }
                    >a{
                        text-decoration: none;
                        color: #000;
                    }
                    >p{
                        margin-top: 5px;
                        >a{
                            text-decoration: none;
                            color: rgb(210,210,210);
                        }
                    }
                }
            }
        }
        // 主体第二部分
        >.main2{
            display: flex;
            padding: 32px 0 40px 0;
            justify-content: space-between;
            >a>img{
                    max-width: 300px;
            }
        }
        // 主体第三部分
        >.main3{
            >.main3-t{
                padding-top: 40px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                >.main3-t-l{
                    margin: 12px 0;
                    >span{
                        font-weight: 900;
                    }
                    >span:last-child{
                        color: red;
                    }    
                }
                >.main3-t-r{
                    >a{
                        text-decoration: none;
                        >span{
                            color: rgb(163,163,164);
                            font-size: 16px;
                        }    
                    }
                }
            }
            >.main3-b{
                display: flex;
                >div{
                    height: 320px;
                }
                >.seckill{
                    margin-right: 16px;
                    width: 240px;
                    height: 320px;
                    background-color: #fff;
                    >div{
                        height: 80px;
                        min-width: 240px;
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        padding: 1em 1.2em;
                        border-bottom: 1px solid #e9e7e7;
                        >div{
                            color: #c7c7c7;
                        }
                    }
                }
                .main3-b-r{
                    width: calc(100% - 256px);
                    display: flex;
                    justify-content: space-between;
                    >a{
                        width: 24%;
                        background-color: #fff;
                        display: flex;
                        justify-content: space-between;
                        flex-direction: column;
                        align-items: center;
                        padding-top: 14px;
                        text-decoration: none;
                        color: #000;
                    &:hover{
                        transform: translateY(-2px);
                        box-shadow: 0 4px 8px 0px rgba(0,0,0,0.1);
                        transition: all 0.2s ease-out;
                        border-radius: 4px;
                    }
                        >img{
                            max-width: 155px;
                            
                        }
                        >p{
                            margin-bottom: 4px;
                            font-weight: 500;
                            font-size: 16px;
                            height: 22px;
                            width: 100%;
                            text-align: center;
                            padding: 0 20px;
                            white-space: nowrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                        }
                        >div:nth-child(3){
                            display: flex;
                            align-items: center;
                            width: 100%;
                            padding: 0 20px;
                            height: 20px;
                            >div{
                                height: 8px;
                                border-radius: 7px;
                                background-color: #fee0df;
                                width: 129px;
                                flex-grow: 1;
                                margin-right: 8px;
                                overflow: hidden;
                            }
                            span{
                                white-space: nowrap;
                                font-size: 12px;
                                opacity: .45;
                            }
                        }
                        >div:last-child{
                            display: flex;
                            width: 100%;
                            justify-content: space-between;
                            align-items: center;
                            margin-bottom: 18px;
                            padding: 0 20px;
                            >div:first-child{
                                >span{
                                    color: #f44336;
                                    font-size: 1.2em;
                                    margin-right: .3em;
                                }
                                >del{
                                    font-size: .6em;
                                    color: #b2b2b2;
                                }
                            }
                            >div:last-child{
                                height: 32px;
                                width: 80px;
                                color: #fff!important;
                                background-color: #f34141;
                                font-size: 13px;
                                text-align: center;
                                line-height: 32px;
                                cursor: pointer;
                                border-radius: 9999px!important;
                            }
                        }
                    }
                }
            }
        }
        // 主体第四部分
        >.main4{
            >p{
                font-size: 24px;
                font-weight: 500;
                padding-top: 60px;
                margin-bottom: 24px;
            }
            >.main4-t{
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                >a{
                  max-width: 24%;
                  margin: 8px 0;
                  display: flex;
                  height: 130px;
                  text-decoration: none;
                  color: #000;
                  position: relative;
                  background-color: #fff;

                  &:hover{
                    transform: translateY(-1px);
                    box-shadow: 0 4px 8px 0px rgba(0,0,0,0.1);
                    transition: all 0.2s ease-out;
                    border-radius: 4px;
                  }
                  >div{
                      width: calc(100% - 130px);
                      padding:30px 15px 0 0;
                      font-size: 14px;
                      height: 100%;
                      >h5{
                        font-size: 18px;
                        font-weight: 500;
                        line-height: 26px;
                        margin: 0;
                      }
                      >p{
                        font-size: 14px;
                        line-height: 22px;
                        color: #000;
                        opacity: .55;
                        margin: 0 0 8px 0;
                      }
                      >b{
                        font-size: 20px;
                        font-weight: 500;
                        line-height: 28px;
                        color: #f44336!important;
                      }
                      >span{
                          position: absolute;
                          right: 0;
                          top: 0;
                          height: 30px;
                          width: 74px;
                          line-height: 30px;
                          font-size: 12px;
                          text-align: center;
                          color: #fff;
                          border-bottom-left-radius: .5em;
                          background: linear-gradient(90deg, rgb(110, 180, 255) 0%, rgb(46, 146, 255) 100%);
                      }
                  }
                }

            }
            >.main4-b{
                display: flex;
                justify-content: space-between;
                >a{
                   width: 50%;
                   padding: 8px;
                   height: 220px;
                   >div{
                       width: 100%;
                       height: 100%;
                       background-size: cover;
                   }
                }
            }
        }
        // 主体第五部分 侧边栏
        >.main5{
            position: fixed !important;
            top: 140px;
            right: 32px;
            >ul:first-child{
                font-size: 12px;
                padding: 0;
                box-shadow: 0 4px 10px 0 rgb(0 0 0 / 8%);
                border-radius: 6px;
                >li,a{
                    height: 68px;
                    width: 68px;
                    background-color: #fff;
                    color: #666;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    cursor: pointer;
                    border-bottom: 1px solid #e8e8e8;
                    transition: background-color .2s;
                    text-decoration: none;
                    list-style-type: none;
                    >img{
                        opacity: .54;
                    }                    
                }
                >li:nth-child(3){
                    position: relative;
                    &:hover .main5-dowm{
                        display: block;
                    }
                    >div:last-child{
                        position: absolute;
                        right: 80px;
                        border: 1px solid #ccc;
                        background-color:#fff ;
                        width: 150px;
                        padding: 3px;
                        border-radius: 8px;
                        display: none;
                        box-shadow: 0 0 1px 1px #ccc;
                        >img{
                            width: 140px;
                            padding: 5px;
                            border-radius: 10px;
                            z-index: 3;
                        }
                        >p{
                            font-size: 12px;
                            text-align: center;
                            color: #000;
                        }                
                    }                    
                }                
            }
            >ul:nth-child(2){
                font-size: 12px;
                padding: 0;
                box-shadow: 0 4px 10px 0 rgb(0 0 0 / 8%);
                border-radius: 6px;
                overflow: hidden;  
                margin-top: 8px;   
                >a{
                    height: 68px;
                    width: 68px;
                    background-color: #fff;
                    color: #666;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    cursor: pointer;
                    border-bottom: 1px solid #e8e8e8;
                    transition: background-color .2s;
                    text-decoration: none;                   
                }           
            }
        }
    }
}


// 尾部
footer{
    padding: 48px 0 6px 0;
    >.wrapper{
        padding: 8px !important;
        width: 1264px !important;
        margin: auto;
        >.footer-1{
            display: flex;
            justify-content: space-between;
            padding-bottom: 40px;
            border-bottom:1px solid #ccc ;
            >div{
                width: 20%;
                display: flex;
                flex-direction: column;
                align-items: center;
                >p{
                    margin-top: 8px;
                    font-size: 16px;
                }
            }
        }
        >.footer-2{
            display: flex;
            justify-content: space-between;
            padding:64px 0 48px 0;
            border-bottom: 1px solid #ccc;
            >.footer-2-l{
                display: flex;
                >div{
                    display: flex;
                    flex-direction: column;
                    padding: 8px;
                    >div{
                        margin-bottom: 1em;
                        font-size: 16px;
                        font-weight: 900;
                    }
                    >a{
                        text-decoration: none;
                        color: #535355;
                        margin-bottom: 1em;
                        font-size: 16px;
                    }
                }
            }
            >.footer-2-r{
                >a{
                    cursor: pointer;
                    border-radius: 2em;
                    color: #fff;
                    font-weight: 500;
                    background-color: #535355;
                    height: 51px;
                    width: 173px;
                    font-size: 15px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin-bottom: 24px;
                    text-decoration: none;
                }
                p:nth-child(2){
                    text-align: right;
                    font-size: 24px;
                    font-weight: 500;
                    letter-spacing: .0125em!important;
                    margin: 0;

                }
                >p:last-child{
                    text-align: right;
                    font-size: 12px;
                    color: #535355;
                }
            }
        }
        >.footer-3{
            margin: 16px 0 32px 0;
            >div:first-child{
                margin-bottom: 16px;
                >a{
                    text-decoration: none;
                    color: #acabb0;
                    font-size: 12px;
                }
                >span{
                    color: #acabb0;
                    font-size: 12px;
                }
            }
            >div:last-child{
                >a{
                  text-decoration: none;
                  color: #acabb0;  
                  margin-left: 8px;
                }
                
            }
        }
    }
}